
import pageTools from '@/components/page-tools'
import UploadImg from '@/components/upload/index'
export default {

  // 形参obj接收的是vue实例的构造函数
  install(obj) {
    console.log(obj, 'obj')
    // 注册全局组件
    obj.component('PageTools', pageTools)
    obj.component('UploadImg', UploadImg)
  }

}
